include:
  - dev.backup_dependency
  - dev.stop_app
  - dev.normal_deploy
  - dev.start_app
  - dev.checkstatus

step_one:
  cmd.run:
    - name: |
        echo "---------------------------------------------------------------------------------"
        echo " Start Deploy work"
        echo "---------------------------------------------------------------------------------"
    - require:
      - cmd: backup_dependency
      - cmd: stop_service
      - file: deploy_dependency
      - file: deploy_lib
      - file: deploy_conf
      - cmd: start_service
      - cmd: checkstatus
